"""
品牌管理序列化器
"""
from rest_framework import serializers
from goods.models import Brand

class BrandModelSerializer(serializers.ModelSerializer):
    """
    品牌管理
    """
    class Meta:
        model = Brand
        fields = ['id', 'name', 'logo', 'first_letter']